package com.jeeplus.modules.guide.service;


import com.jeeplus.common.json.AjaxJson;
import com.jeeplus.common.utils.RedisUtils;
import com.jeeplus.common.utils.StringUtils;
import com.jeeplus.database.datasource.annotation.DS;
import com.jeeplus.modules.guide.mapper.PDFMapper;
import com.jeeplus.modules.guide.mapper.SWMapper;
import com.jeeplus.modules.guide.model.sw.HourValue;
import com.jeeplus.modules.guide.model.sw.WinValue;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;


/**
 * ClassName: PDFService
 * Function:  填单机pdf
 * Date:      2022/7/4 10:53
 *
 * @author azj
 * version    V1.0
 */
@Service
@Slf4j
@RequiredArgsConstructor
@Transactional(readOnly = true)
public class PDFService {
    private final PDFMapper pdfMapper;

    public String findPdfByName(String pdfName){
        return pdfMapper.findPdfByName(pdfName);
    }

    public String findUserId(String idcard){

        return pdfMapper.findUserId(idcard);
    }
}